home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000114-20000217 / 000240_news@columbia.edu _Wed Feb 16 15:10:10 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA03133
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 16 Feb 2000 15:10:10 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA29759
  7.     for kermit.misc@watsun.cc.columbia.edu; Tue, 15 Feb 2000 12:17:21 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: "AMT" <amt.4243@wanadoo.fr>
  10. Subject: pb with script programming,
  11. Date: Tue, 15 Feb 2000 18:23:41 +0100
  12. Organization: AMT
  13. Message-ID: <88c1mo$o8c$1@wanadoo.fr>
  14. To: kermit.misc@columbia.edu
  15.  
  16. i wirk on an hp/ux 10.0 workstation
  17.  
  18. I want to make the same commands to differents nodes of my network
  19.  
  20. i have coded the script
  21. ..
  22. cat /etc/hosts | while read LIGNE
  23. do
  24.      EQUIP= echo $LIGNE | awk '{print $2}'`
  25.     CMDE="set host $EQUIP, take /filexx"
  26.     kermit -c "$CMDE";
  27.     echo "AAAAA"
  28. done
  29. echo "BBBBB""
  30. exit
  31.  
  32. the filexx have
  33. def unix do vax, set term byte 7
  34. set input timeout-action proceed
  35. .....
  36.  
  37. set exit warning off
  38.  
  39. input 1 ok
  40. if success go to suit
  41. end
  42. :suit
  43. ...
  44. ...
  45. end
  46.  
  47. when all the nodes are up it's ok, but when the node "n" is down i have the
  48. message : unable to connect to "n"
  49. connection time-out. i go back to my script and it execute echo AAAAA echo
  50. BBBBB and it ends. so i havent made my commands to the nodes n+1 n+2 .....
  51.  
  52. who can help me ?
  53.  
  54.